package com.lhc.iot.designpattern.decorate.decorate;

import com.lhc.iot.designpattern.decorate.Girl;
import com.mysql.jdbc.jdbc2.optional.SuspendableXAConnection;

/**
 * @author LuHuanCheng
 * 类说明：
 */
public class Lovely implements Girl{
    private Girl girl;

    public Lovely(Girl girl) {
        this.girl = girl;
    }

    @Override
    public void dance() {
        System.out.println("着装可爱");
        girl.dance();
    }
}